x86emul: correct stub invocation constraints again
authorJan Beulich <jbeulich@suse.com>
Fri, 28 Apr 2017 14:03:40 +0000 (16:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 28 Apr 2017 14:03:40 +0000 (16:03 +0200)
commitba39e9b2108319d2b7b842781106386b8ed62fab
treeed5197668f2612344cec9a888606b8ddde158e65
parent0a5370ee1f9808fbb16bb03d7f349921cf73a2d4
x86emul: correct stub invocation constraints again

While the hypervisor side of commit cd91ab08ea ("x86emul: correct stub
invocation constraints") was fine, the tools side triggered a bogus
error with old gcc (4.3 and 4.4 at least). Use a slightly less
appropriate variant instead, proven to be good enough to not
re-introduce the original problem: Which of the addresses is actually
used doesn't matter much as long as the compiler can't prove that the
two pointers don't alias one another.

Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Release-acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c